package itu.twitterandro.application;

import android.graphics.Bitmap;
import android.os.Parcel;
import android.os.Parcelable;


public class Tweet implements Parcelable {
	public String username;
	public String message;
	public String image_url;
	public String date;
	/*public Boolean usernameSet = false;
	public Boolean messageSet = false;
	public Boolean imageSet = false;*/
	public Bitmap avatar;
	
	public Tweet(String username, String message, String url, String tweetDate) {
		this.username = username;
		this.message = message;
		this.image_url = url;
		this.date = tweetDate;
	}

	public int describeContents() {
		// TODO Auto-generated method stub
		return 0;
	}

	public void writeToParcel(Parcel dest, int arg1) {
		// TODO Auto-generated method stub
		dest.writeString(username);
		dest.writeString(message);
		dest.writeString(image_url);
		
	}
}
